package cn.tedu.myback.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserParam {

    @NotBlank(message = "昵称不允许为空")
    @ApiModelProperty("昵称")
    private String nickName;

    @NotBlank(message = "用户名不允许为空")
    @ApiModelProperty("用户名")
    private String userName;

    @NotBlank(message = "密码不允许为空")
    @ApiModelProperty("密码")
    private String password;

}
